package com.learn.springboot3.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * ClassName: Dome2
 * Package: com.learn.springboot3.pojo
 * Description:
 *
 * @Author jiangCheng
 * @Create 2024/10/22 19:17
 * @Version 1.0
 */
@TableName("test")
public class Demo {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private Integer age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}
